package com.wisemoresystem.seal.config;

public class Config {

	public static final String DATA_DOMAIN;
	public static final String DATA_PATH;

	public static final String SESSION_KEY;

	public static final String WX_TOKEN;
	public static final String AppId;
	public static final String AppSecret;

	static {
		DATA_DOMAIN = get("DATA_DOMAIN");
		DATA_PATH = get("DATA_PATH");
		SESSION_KEY = get("SESSION_KEY");
		WX_TOKEN = get("WX_TOKEN");
		AppId = get("AppId");
		AppSecret = get("AppSecret");
	}

	private static String get(String name) {
		return ConfigReader.getConfigReader().get(name);
	}

}
